#ifndef PICTURE_H
#define PICTURE_H

#include <QWidget>

class picture : public QWidget
{
    Q_OBJECT

public: picture(void);
    ~picture();
    bool push(void const *p_data, unsigned long size);
    long Width(void);
    long Height(void);
    long BitCount(void);

private:
    unsigned short str_to_hex16(const char *str);
    unsigned long str_to_hex32(const char *str);
    long bWidth;
    long bHeight;
    long bBitCount;
};
#endif // PICTURE_H
